package uk.ac.cam.juliet.zedcat.socialnetworking;

/**
 *  Abstract representation of a social network plugin class. Needs to be extended and have its methods overloaded.
 *  @author Daniel
 */

public abstract class AbstractPlugin {

	protected String username;
	protected String password;
	public String accountid;
	
	public AbstractPlugin(String id, String username,String password) {
		this.accountid = id;
		this.username = username;
		this.password = password;
	}
	
	public abstract void pushUpdate(String update);
	
	protected void setUsername(String username){
		this.username = username;
	}
	protected void setPassword(String password){
		this.password = password;
	}
	protected void printCredentials(){
		System.out.println("Username: " + username + "\r\nPassword: " + password);
	}

}
